package com.snowRemovingUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 数据管理对象 t_interfaces
 *
 * @author liguang
 * @date 2023-08-21
 */
public class TInterfaces extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 推送客户 */
    @Excel(name = "推送客户")
    private String customer;

    /** 推送类型 */
    @Excel(name = "推送类型")
    private Integer pushType;

    /** 推送内容 */
    @Excel(name = "推送内容")
    private String pushInfo;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer status;

    /** 推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pushTime;

    /** 推送路段 */
    @Excel(name = "推送路段")
    private String pushRoad;

    /** 上级id */
    @Excel(name = "上级id")
    private Long parentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomer(String customer)
    {
        this.customer = customer;
    }

    public String getCustomer()
    {
        return customer;
    }
    public void setPushType(Integer pushType)
    {
        this.pushType = pushType;
    }

    public Integer getPushType()
    {
        return pushType;
    }
    public void setPushInfo(String pushInfo)
    {
        this.pushInfo = pushInfo;
    }

    public String getPushInfo()
    {
        return pushInfo;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setPushTime(Date pushTime)
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime()
    {
        return pushTime;
    }
    public void setPushRoad(String pushRoad)
    {
        this.pushRoad = pushRoad;
    }

    public String getPushRoad()
    {
        return pushRoad;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customer", getCustomer())
            .append("pushType", getPushType())
            .append("pushInfo", getPushInfo())
            .append("status", getStatus())
            .append("pushTime", getPushTime())
            .append("pushRoad", getPushRoad())
            .append("parentId", getParentId())
            .toString();
    }
}
